home *** CD-ROM | disk | FTP | other *** search
- *****Listing 2*****
-
- static struct s_record print_record;
- /* Declare a static record */
-
- #define NUMBER_FIELDS 9 /* Number of fields in record */
-
- char *record_field_address[NUMBER_FIELDS] =
- {
- print_record.firstname,
- print_record.lastname,
- ...
- /* Remainder of the fields in the same format */
- }; /* Addresses of each field */
-
-